package com.boot.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * Description: 负载均衡配置类
 *
 * @Autor: Rolin
 * datetime: 05-08-19:30
 */
@Configuration
public class Config88 {

    @Bean
    @LoadBalanced
    public RestTemplate config01(){
        return new RestTemplate();
    }
}
